<template>
  <router-view></router-view>
</template>

<script setup lang="ts">
// 初始化设置主题
const theme = localStorage.getItem('theme') || 'theme-light'
document.documentElement.setAttribute('class', theme)
</script>

<style scoped lang="less"></style>
